Simple Queries
Simple Queries
SELECT Statement
The SELECT statement is used to retrieve data from one or more tables. It is the most commonly used SQL command.
Select All Columns
SELECT *
FROM table_name;
Select Specific Columns
SELECT firstname, lastname
FROM employees;
Practice Exercises
- Select
Allcolumns fromaddreestype. - Select only
addressidandaddresstypeidfromaddress.